-- GENERATED SPELL FOR [Ravenous Mangal Crocolisk] --


function spell0_28325(pUnit, Event) --@Jagged Tooth Snap,n/a--
pUnit:FullCastSpellOnTarget(34370,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28325', 609, 1)
end

function Sorts_28325(pUnit, Event)
local choix_sorts_28325 = math.random(0, 0)
if choix_sorts_28325 == 0 then
pUnit:RegisterEvent('spell0_28325', 1, 1)
end
end

function mob28325_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28325', math.random(1500, 3000), 1)
end

function mob28325_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28325_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28325_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28325, 1, 'mob28325_Action')
RegisterUnitEvent(28325, 2, 'mob28325_Leave')
RegisterUnitEvent(28325, 3, 'mob28325_Kill')
RegisterUnitEvent(28325, 4, 'mob28325_Die')
